package com.mls.guardian.protocol;

/**
 * Created by jl on 15/9/8.
 */
public class CodeType {
    //自己的从属发送的心跳
    public static int SLAVE_HEAR_BEAT = 10;


    //重新启动app 发布有关的以2开头
    public static int START = 20;
    public static int RESTART = 21;
    public static int STOP = 22;
    public static int UPDATE_STATIC_FILE = 23;
    public static int RESTORE = 24;
    public static int UPGRADE = 25;


    //监控相关的以3开头
    public static int SERVER_PROCESS_INFO = 30;
    public static int SERVER_INFO = 32;
    public static int GET_BACKUP = 33;
    public static int GET_FILE_INFO = 34;
    public static int GET_UPGRADE_VERSION = 35;


    public static int SEND_LOG = 60;


    public static int CLIENT_INVALID = 98;
    public static int SYSTEM_ERROR = 99;
}
